home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
RoboWar ••••
/
Robots Folder
/
Coroner2
/
Coroner2
next >
Wrap
Text File
|
1990-04-06
|
3KB
|
187 lines
# Coroner
x 40 < slowstartx faststartx ife
y 40 < slowstarty faststarty ife
1 a' store
1 b' store
Init:
50 shield' store
x 70 < a and slowx if
y 70 < b and slowy if
collision startblastem if
a b or not main1 if
init jump
slowstartx:
-1 speedx' store
return
faststartx:
-5 speedx' store
return
slowstarty:
-1 speedy' store
return
faststarty:
-5 speedy' store
return
slowx:
x 25 < stopx crawlx ife
return
slowy:
y 25 < stopy crawly ife
return
stopx:
0 speedx' store
0 a' store
return
stopy:
0 speedy' store
0 b' store
return
crawlx:
x 40 < verycrawlx modcrawlx ife
return
crawly:
y 40 < verycrawly modcrawly ife
return
verycrawlx:
-1 speedx' store
return
modcrawlx:
-3 speedx' store
return
verycrawly:
-1 speedy' store
return
modcrawly:
-3 speedy' store
return
startblastem:
30 aim' store
blastem:
range 0 > kill rotate ife
collision not checkcontinue if
energy 2 / shield' store
blastem jump
kill:
range 40 < fullpower rotate ife
return
fullpower:
energy 1 - missile' store
0 shield' store
50 missile' store
return
pounce:
energy 10 > bang if
return
bang:
energy missile' store
return
rotate:
-70 aim + aim' store
return
checkcontinue:
drop
return
transition1:
drop
-10 speedy' store
repeat1:
y 40 < stop1 if
energy 2 / shield' store
repeat1 jump
stop1:
0 speedy' store
main1:
drop
85 aim' store
5 i' store
0 speedx' store
0 speedy' store
damage d' store
loop1:
range 0 > pounce smallrotate1 ife
energy 2 / shield' store
damage d ! transition2 if
loop1 jump
smallrotate1:
aim i + aim' store
aim 180 > reverse11 if
aim 90 < reverse21 if
return
reverse11:
-7 i' store
return
reverse21:
5 i' store
return
transition2:
drop
10 speedy' store
repeat2:
y 260 > stop2 if
energy 2 / shield' store
repeat2 jump
stop2:
0 speedy' store
main2:
drop
0 aim' store
5 i' store
0 speedx' store
0 speedy' store
damage d' store
loop2:
range 0 > pounce smallrotate2 ife
energy 2 / shield' store
damage d ! transition1 if
loop2 jump
smallrotate2:
aim i + aim' store
aim 90 > reverse12 if
aim 7 < reverse22 if
return
reverse12:
-7 i' store
return
reverse22:
5 i' store
return